package com.lyncs.ods.req;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author alex
 * @date 2022/6/6 00:09
 * @description
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class SaveContactReq {

    @ApiModelProperty(value = "手机号码")
    @NotNull
    private String phone;

    @ApiModelProperty(value = "称呼")
    private String username;

    @ApiModelProperty(value = "企业名称")
    private String companyName;
}
